﻿using Abp.Application.Services.Dto;
using Abp.Runtime.Validation;
using System;
using System.Collections.Generic;
using System.Text;

namespace BRMC.IntelligentCommunity.Parkings.Devices.Dto
{
   public class GetDeviceInput : PagedAndSortedResultRequestDto, IShouldNormalize
    {
        public long ParkingId { get; set; }

        public long GuardId { set; get; }
        public void Normalize()
        {
            if (string.IsNullOrWhiteSpace(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }
    }
}
